import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SCountryMoneyPlayer
    
    export  class SCountryMoneyPlayer
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.entityId.__write(arg1);
            arg1.writeString(this.name);
            arg1.writeInt(this.gold);
            arg1.writeInt(this.coin);
            arg1.writeInt(this.box);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(arg1);
            this.name = arg1.readString();
            this.gold = arg1.readInt();
            this.coin = arg1.readInt();
            this.box = arg1.readInt();
            return;
        }

        public /* var */entityId: SEntityId;

        public /* var */name: string;

        public /* var */gold: int;

        public /* var */coin: int;

        public /* var */box: int;
    }
